package com.maven.logmanager.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 支出记帐
 * @author Administrator
 *
 */
@Entity
@Table(name="t_finance_expenditure_keep_accounts")
public class ExpenditureKeepAccounts {
	/**
	 * UUID主键
	 */
	@Id
	@Column(name="id")
	@GenericGenerator(name="idGenerator",strategy="uuid")
	@GeneratedValue(generator="idGenerator")
	private String id;
	/**
	 * 金额
	 */
	@Column(name="money")
	private double money;
	/**
	 * 类别
	 */
	@Column(name="type")
	private String type;
	/**
	 * 创建日期
	 */
	@Column(name="creation_date")
	private Date creationDate;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public double getMoney() {
		return money;
	}
	public void setMoney(double money) {
		this.money = money;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Date getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
}
